import { Inject, Provide } from '@midwayjs/core';
import { BaseService } from '@cool-midway/core';
import { InjectEntityModel } from '@midwayjs/typeorm';
import { Repository } from 'typeorm';
import { SupplierContractEntity } from '../entity/contract';

/**
 * 供应商合同
 */
@Provide()
export class SupplierContractService extends BaseService {
  @InjectEntityModel(SupplierContractEntity)
  supplierContractEntity: Repository<SupplierContractEntity>;
}
